package com.comcast.core.eeg.eventsubscription.service;

public interface EventSubscriptionService {

	public com.comcast.core.eeg.eventsubscription.types.SubscriptionResult subscribe(
			com.comcast.core.eeg.types.Participant participant,
			java.lang.String subscriptionName,
			com.comcast.core.eeg.eventsubscription.types.SubscriptionOption option);

	public com.comcast.core.eeg.eventsubscription.types.RetrievalResult get(
			com.comcast.core.eeg.eventsubscription.types.EventSubscription eventSubscription,
			com.comcast.core.eeg.eventsubscription.types.DeliveryOption deliveryOption);

	public com.comcast.core.eeg.eventsubscription.types.RetrievingResult retrieve(
			com.comcast.core.eeg.eventsubscription.types.EventSubscription eventSubscription,
			com.comcast.core.eeg.eventsubscription.types.DeliveryOption deliveryOption);

	public com.comcast.core.eeg.types.Result commit(
			com.comcast.core.eeg.eventsubscription.types.EventSubscription eventSubscription);

	public com.comcast.core.eeg.types.Result rollback(
			com.comcast.core.eeg.eventsubscription.types.EventSubscription eventSubscription);

	public void close(
			com.comcast.core.eeg.eventsubscription.types.EventSubscription eventSubscription);

}